#ifndef __LAYOUTBUTTON_H__
#define __LAYOUTBUTTON_H__
#pragma once
#include "stdafx.h"

class LayoutButton : public FCButton{
public:
    LayoutButton();
    virtual ~LayoutButton();
    virtual void onPaint(FCPaint *paint, const FCRect& clipRect);
    virtual void onPaintBorder(FCPaint *paint, const FCRect& clipRect);
    static FCSize drawText(FCPaint *paint, String text, Long dwPenColor, FCFont *font, int x, int y);
    static void drawDesignerIcon(FCPaint *paint, String cName, FCRect drawRect, int tick, Long fillColor, Long drawColor);
};

#endif
